package com.ymatou.iapi.productmanager.parameter.product;

import java.util.List;

import com.ymttest.utils.compare.parameter.IgnoreParam;
import com.ymttest.utils.compare.parameter.compareKey;

public class CatalogSaveModel {
	@compareKey
	private String catalogId;

    private boolean isPackage;

    private List<Integer> subCatalogIdList;

    private int multiLogistics;

    private int action;

    private double price;

    private double vipPrice;

    private double newPrice;

    private int stock;

    private String sku;

    private String productCode;

    private boolean isPreSale;

    private double weight;

    private List<CatalogPropertySaveModel> propertyList;
    
    /**
     * 规格的操作类型，
     * 1： 新增
     * 2： 修改
     * 3： 删除
     * 4： APP端先删除再新增
     */
    @IgnoreParam
    private int operateType;

    
    

	public List<Integer> getSubCatalogIdList() {
		return subCatalogIdList;
	}

	public void setSubCatalogIdList(List<Integer> subCatalogIdList) {
		this.subCatalogIdList = subCatalogIdList;
	}

	public int getOperateType() {
		return operateType;
	}

	public void setOperateType(int operateType) {
		this.operateType = operateType;
	}

	public String getCatalogId() {
		return catalogId;
	}

	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId;
	}

	public boolean isPackage() {
		return isPackage;
	}

	public void setPackage(boolean isPackage) {
		this.isPackage = isPackage;
	}

	

	public int getMultiLogistics() {
		return multiLogistics;
	}

	public void setMultiLogistics(int multiLogistics) {
		this.multiLogistics = multiLogistics;
	}

	public int getAction() {
		return action;
	}

	public void setAction(int action) {
		this.action = action;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getVipPrice() {
		return vipPrice;
	}

	public void setVipPrice(double vipPrice) {
		this.vipPrice = vipPrice;
	}

	public double getNewPrice() {
		return newPrice;
	}

	public void setNewPrice(double newPrice) {
		this.newPrice = newPrice;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public boolean isPreSale() {
		return isPreSale;
	}

	public void setPreSale(boolean isPreSale) {
		this.isPreSale = isPreSale;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public List<CatalogPropertySaveModel> getPropertyList() {
		return propertyList;
	}

	public void setPropertyList(List<CatalogPropertySaveModel> propertyList) {
		this.propertyList = propertyList;
	}
    
    
}
